<!--
 * @Author: master
 * @Date: 2022-03-29 17:19:29
 * @LastEditTime: 2022-04-12 09:55:47
 * @Description: notFound
-->
<template>
  <Empty description="没有找到资源">
    <Button round type="danger" class="bottom-button" @click="back">返回</Button>
  </Empty>
</template>
<script setup>
import { Empty, Button } from 'vant';
import { useRouter } from 'vue-router';
const router = useRouter();
/**
 * 返回
 */
const back = () => {
  router.replace({ name: 'main' });
};
</script>
<style scoped>
.bottom-button {
  width: 160px;
  height: 40px;
}
</style>
